package com.cssy.yd.logic.service;


import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.dao.DataAccessException;
import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicPoReturnDO;
import com.cssy.yd.logic.entity.LogicPoReturnItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.yuendong.sy.exception.SyCodeException;

public interface ILogicPoReturnService extends IBaseService<LogicPoReturnDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public Integer updateItem(LogicPoReturnItemDO t) throws SyBaseException;
	
	public LogicPoReturnItemDO saveItem(LogicPoReturnItemDO t) throws SyBaseException;
	
	public LogicPoReturnItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicPoReturnItemDO> findItemListBypoId(String id) throws SyBaseException;
	
	@Transactional
	public void returnsave(HttpServletRequest request,LogicPoReturnDO t)throws SyBaseException,SyCodeException;
	
	public Integer untreatedPoreturncode(Map<String, Object> map) throws SyBaseException ;
	
}
